package day02_oop_code.com.itheima.d7_abstract_demo2;

public abstract class People {
    public final void write(){
        System.out.println("标题");
        System.out.println("第一段");
        System.out.println("正文");
        writeMain();
        System.out.println("结尾");
    }
    public abstract void writeMain();

}
